Optimal. Leaf size=74 \[ \frac{\log (x) (a+b x)}{a \sqrt{-a^2-2 a b x-b^2 x^2}}-\frac{(a+b x) \log (a+b x)}{a \sqrt{-a^2-2 a b x-b^2 x^2}} \]
[Out]
_______________________________________________________________________________________
Rubi [A] time = 0.0863762, antiderivative size = 74, normalized size of antiderivative = 1., number of steps used = 4, number of rules used = 4, integrand size = 27, \(\frac{\text{number of rules}}{\text{integrand size}}\) = 0.148 \[ \frac{\log (x) (a+b x)}{a \sqrt{-a^2-2 a b x-b^2 x^2}}-\frac{(a+b x) \log (a+b x)}{a \sqrt{-a^2-2 a b x-b^2 x^2}} \]
Antiderivative was successfully verified.
[In] Int[1/(x*Sqrt[-a^2 - 2*a*b*x - b^2*x^2]),x]
[Out]
_______________________________________________________________________________________
Rubi in Sympy [A] time = 18.245, size = 66, normalized size = 0.89 \[ - \frac{\sqrt{- a^{2} - 2 a b x - b^{2} x^{2}} \log{\left (x \right )}}{a \left (a + b x\right )} + \frac{\sqrt{- a^{2} - 2 a b x - b^{2} x^{2}} \log{\left (a + b x \right )}}{a \left (a + b x\right )} \]
Verification of antiderivative is not currently implemented for this CAS.
[In] rubi_integrate(1/x/(-(b*x+a)**2)**(1/2),x)
[Out]
_______________________________________________________________________________________
Mathematica [A] time = 0.0218459, size = 33, normalized size = 0.45 \[ \frac{(a+b x) (\log (x)-\log (a+b x))}{a \sqrt{-(a+b x)^2}} \]
Antiderivative was successfully verified.
[In] Integrate[1/(x*Sqrt[-a^2 - 2*a*b*x - b^2*x^2]),x]
[Out]
_______________________________________________________________________________________
Maple [A] time = 0.007, size = 33, normalized size = 0.5 \[ -{\frac{ \left ( bx+a \right ) \left ( -\ln \left ( x \right ) +\ln \left ( bx+a \right ) \right ) }{a}{\frac{1}{\sqrt{- \left ( bx+a \right ) ^{2}}}}} \]
Verification of antiderivative is not currently implemented for this CAS.
[In] int(1/x/(-(b*x+a)^2)^(1/2),x)
[Out]
_______________________________________________________________________________________
Maxima [F] time = 0., size = 0, normalized size = 0. \[ \text{Exception raised: ValueError} \]
Verification of antiderivative is not currently implemented for this CAS.
[In] integrate(1/(sqrt(-(b*x + a)^2)*x),x, algorithm="maxima")
[Out]
_______________________________________________________________________________________
Fricas [A] time = 0.218006, size = 92, normalized size = 1.24 \[ \sqrt{-\frac{1}{a^{2}}} \log \left (-\frac{i \,{\left (a^{2} \sqrt{-\frac{1}{a^{2}}} + 2 i \, b x + i \, a\right )}}{2 \, b}\right ) - \sqrt{-\frac{1}{a^{2}}} \log \left (\frac{i \,{\left (a^{2} \sqrt{-\frac{1}{a^{2}}} - 2 i \, b x - i \, a\right )}}{2 \, b}\right ) \]
Verification of antiderivative is not currently implemented for this CAS.
[In] integrate(1/(sqrt(-(b*x + a)^2)*x),x, algorithm="fricas")
[Out]
_______________________________________________________________________________________
Sympy [F] time = 0., size = 0, normalized size = 0. \[ \int \frac{1}{x \sqrt{- \left (a + b x\right )^{2}}}\, dx \]
Verification of antiderivative is not currently implemented for this CAS.
[In] integrate(1/x/(-(b*x+a)**2)**(1/2),x)
[Out]
_______________________________________________________________________________________
GIAC/XCAS [F] time = 0., size = 0, normalized size = 0. \[ \mathit{undef} \]
Verification of antiderivative is not currently implemented for this CAS.
[In] integrate(1/(sqrt(-(b*x + a)^2)*x),x, algorithm="giac")
[Out]